package com.xlx.openLink.base;

/**
 * @author seven
 * @create 2019-06-17 12:01
 **/
public class SnmpException extends Exception {
    private int type = -1;

    private String message;

    public SnmpException(String e) {
        super(e);
    }

    public SnmpException(Exception e) {
        super(e.getMessage());
    }

    public SnmpException(Exception e, String message) {
        super(e);
        this.message = message;
    }

    public int getType() {
        return this.type;
    }

    private void setType(int type) {
        this.type = type;

    }
}
